@(modelForView: model.forview.ContentChangePointModelForView)
@main(modelForView.mainModelForView) {

<!-- CONTENT -->
	
	<!-- ALL STRUCTURES -->
	<form method="get">
		<input type="hidden" name="id_content" value="@modelForView.getIdContent()" ></input>
		<input type="hidden" name="id_node" value="0" >
		<select name="id_structure">
			@for(i <- 0 until modelForView.getSizeOfAllStructures()){
				<option value="@modelForView.getSelectedStructureId(i)" selected="@modelForView.getSelectedStructureIdSelect(i)">@modelForView.getSelectedStructureTitle(i)</option>
			}
		</select>
		<button type="submit" class="btn btn-primary">Выбрать структуру</button>
	</form>
	<!-- PARENTS -->
	@for(i <- 0 until modelForView.getSizeOfParents()){
		<a href="@modelForView.getParentsUrl(i)">@modelForView.getParentsTitle(i)</a> <br/>
	}
	<!-- NODE -->
	@modelForView.getPointTitle() <br/>
	@modelForView.getPointTypeTitle() <br/>
	<form method="post" style="display : @modelForView.showPoint()">
		<input type="hidden" name="id_content" value="@modelForView.getFormContentId()" ></input>
		<input type="hidden" name="id_structure" value="@modelForView.getFormStructureID()" ></input>
		<input type="hidden" name="id_point" value="@modelForView.getFormPointId()" ></input>
		<button type="submit" class="btn btn-primary">Save</button>
	</form>
	<!-- CHILDREN -->
	@for(i <- 0 until modelForView.getSizeOfChildren()){
		<a href="@modelForView.getChildrenUrl(i)">@modelForView.getchildrenTitle(i)</a> <br/>
	}
	<hr/>
	<p>Текущее значение:</p>
	<p>@modelForView.getContentTitleNode()</p>
}
